/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.awt.image.BufferedImage;
/*    */ import java.io.IOException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.HashMap;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ import javax.imageio.ImageIO;
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.resources.IResource;
/*    */ import net.minecraft.util.ResourceLocation;
/*    */ import org.yaml.snakeyamla.configuration.ConfigurationSection;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class nia
/*    */ {
/* 23 */   public Map<String, Integer> w = new HashMap<>();
/*    */   public nia(ConfigurationSection configurationSection) throws IOException {
/* 25 */     List<BufferedImage> list = new ArrayList();
/*    */     
/* 27 */     ConfigurationSection configurationSection1 = configurationSection.getConfigurationSection("texture");
/* 28 */     for (String str : configurationSection1.getKeys(false)) {
/*    */       
/* 30 */       IResource iResource = Minecraft.func_71410_x().func_110442_L().func_110536_a(new ResourceLocation("dragoncore", str));
/* 31 */       BufferedImage bufferedImage = ImageIO.read(iResource.func_110527_b());
/* 32 */       list.add(bufferedImage);
/*    */ 
/*    */       
/* 35 */       this.w.put(str, Integer.valueOf(this.q));
/*    */       
/* 37 */       this.g = bufferedImage.getHeight();
/* 38 */       this.q += bufferedImage.getWidth();
/*    */     } 
/*    */   }
/*    */   
/*    */   public int q;
/*    */   public int g;
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\nia.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */